#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr1[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int arr2[10] = { 5,5,5,5,5,5,5,5,5,5 };
	int i = 0;

	for (i = 0; i < 10; i++)
	{
		int temp = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = temp;

	}
	for (int j = 0; j < 10; j++)
	{
		printf("%d ", arr1[j]);
	}
	printf("\n");
	for (int x = 0; x < 10; x++)
	{
		printf("%d ", arr2[x]);

	}
	
	printf("\n");
	return 0;
}